#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>
#include "qmythread.h"
namespace Ui {
class Dialog;
}

class Dialog : public QDialog
{
    Q_OBJECT

public:
    explicit Dialog(QWidget *parent = 0);
    ~Dialog();

private:
    QThreadDAQ threadDAQ;
    QThreadShow threadShow;
private slots:
    void onThread_newValue(int *data, int count, int seq);
    void on_threadStart_clicked();

    void on_stopThread_clicked();

    void on_clearText_clicked();

private:
    Ui::Dialog *ui;
};

#endif // DIALOG_H
